@*
 * This template is called from the `index` template. This template
 * handles the rendering of the page header and body tags. It takes
 * three arguments, a `String` for the title of the page and an `Html`
 * object to insert into the body of the page and an `AssetFinder`
 * to define to reverse route static assets.
 *@
@import views.html.dingtalk._
@(title: String, styles: Html = Html(""), scripts: Html = Html(""), modals: Html = Html(""))(content: Html)(implicit session:Session)

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
     @* Here's where we render the page title `String`. *@
        <title>管理后台 - @title @session.get("uname")</title>
        <link rel="stylesheet" media="screen" href='@routes.Assets.versioned("css/main.css")'>
        <link rel="stylesheet" media="screen" href='/static/layui/css/layui.css'>
        <link rel="shortcut icon" type="image/png" href='@routes.Assets.versioned("images/favicon.png")'>
    <meta name="wpk-bid" content="dta_1_241931328">

        @styles
</head>
@if(session.get("accid").isEmpty){<body class="layui-layout-body" accesskey="nologin" >}else{<body class="layui-layout-body" accesskey='@session.get("sign")'>}
<div class="layui-layout layui-layout-admin">

    @* And here's where we render the `Html` object containing
    * the page content. *@
    <!---  header start -->
    @header("")
    <!--- header-nav end --->
    <!--- content start --->
    <div class="layui-body">
    <!-- 内容主体区域 -->
        @content
    </div>
    <!--- content end --->
    <!--- footer start --->
    @footer("")
    <!--- footer end --->


</div>
<script type="text/javascript" src="@routes.HomeController.javascriptRoutes()"></script>
<script src='/static/layui/layui.js' type="text/javascript"></script>
<script src="//g.alicdn.com/dingding/dingtalk-jsapi/2.0.57/dingtalk.open.js"></script>
<script type="module" src='/static/ionic/core/dist/ionic/ionic.esm.js'></script>
<script nomodule src='/static/ionic/core/dist/ionic/ionic.js'></script>
<script src='@routes.Assets.versioned("js/dingtalk_pc.js")' type="text/javascript"></script>
@scripts
<script>
//JavaScript代码区域

</script>
<script>
@modals
</script>
</body>
</html>



